﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace tracker.ClassCommon
{
    public static class classValidate
    {
        public static bool isDateTime(string __data)
        {
            DateTime dtcheck;
            return DateTime.TryParse(__data, out dtcheck);
        }
        public static bool isInt(string __data)
        {
            int icheck = 0;
            return int.TryParse(__data, out icheck);
        }
    }
}